TAGs: calculate remaining principal